import React from 'react';
import ReactDOM from 'react-dom';
import RouterComponent from './router';
import * as serviceWorker from './serviceWorker';
//兼容IE添加的babel-polyfill和url-search-params-polyfill模块
import 'babel-polyfill';
import 'url-search-params-polyfill';
//基础的公共的css文件
import './assets/css/common/base.scss';

ReactDOM.render(<RouterComponent />, document.getElementById('root'));

// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();
